package com.chen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@ToString
@TableName("account_b")
public class AccountB {
    @TableId
    @TableField("id")
    private int id;
    @TableField("user_id")
    private int userId;
    @TableField("dollar")
    private BigDecimal dollar;
    @TableField("rmb")
    private BigDecimal rmb;
    @TableField("dollar_frozen")
    private BigDecimal dollarFrozen;
    @TableField("rmb_frozen")
    private BigDecimal rmbFrozen;
}
